TARGET = stalker
OBJS =  main.o Model.o Item.o pgeFont.o lua.o Bullet.o  Char.o sMap.o sSight.o \
Garden.o ObjLen.o Utility.o sMath.o dialog.o Gate.o\
LuaUtil.o LuaStackChecker.o LuaStackGuard.o progressbar.o Timer.o\
WarcraftMessages.o Quest.o Skill.o animation.o

PSPPATH = $(shell psp-config --psp-prefix)
CFLAGS = -O2 -g -G0 -Wall
CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti
ASFLAGS = $(CFLAGS)
BUILD_PRX = 1
LIBDIR =

INCDIR = $(PSPPATH)/include/bolbol  
MYLIBS= 
STDLIBS=  -losl -lfreetype  -lpng -lz -llualib -llua -lpspvfpu\
         -lpsphprm -lpspsdk -lpspctrl -lpspumd -lc -lpsprtc -lvorbisidec  -lpspmp3\
         -lpsppower -lpspgum -lpspgu   -lpspaudiolib -lpspaudio  \
          -lm -ljpeg -lstdc++ -lmad \
         -lstdc++  -lpspmath -lpsprtc
LIBS   =   -lpspdebugkb 
LIBS=$(STDLIBS) $(MYLIBS)  


LDFLAGS =


EXTRA_TARGETS = EBOOT.PBP
PSP_EBOOT_TITLE = stalker
INCDIR = $(PSPSDK)/../include/freetype2

PSPSDK=$(shell psp-config --pspsdk-path)
include $(PSPSDK)/lib/build.mak
